CFE-4708: Added support for a path-augment to specify files to ship beyond the extension-matching - #3204
CFE-4708: Added support for a path-augment to specify files to ship beyond the extension-matching#3204SimonThalvorsen wants to merge 1 commit into
Conversation
|
Thank you for submitting a pull request! Maybe @nickanderson can review this? |
…eyond the extension-matching Ticket: CFE-4708 Changelog: Added `input_paths_extra` to allow specified files to ship independent of what is specified in `input_name_patterns[_extra]` Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
7145e8f to
0d255e6
Compare
nickanderson
left a comment
There was a problem hiding this comment.
No ticket in the commit subject, that's for the PR.
I am not sure about this.
I understand that you are adding a file path to the files distributed in update.
- This is a fully qualified file path? Can you give an example of what values a user would be expected to use here?
- You say these files would be updated each time, regardless of validated_updates_ready, so these files could update but the rest of the policy could be skipped?
I am not certain that the hashing in but that only worked for the initial copy, so if the project got rebuilt with the same files(but different content) only the .sh (and assumes .txt, .cf and other accepted extensions) would get marked as changed and the client got the new content, but keeping the old, unchanged version of the other files. The usage is intended for files added by cfbs input-type-file, where the supplied files may not match what is set inside |
I would remove git from the equation initially. Edit files in /var/cfengine/masterfiles on a hub and understand that basic flow first. |
Ticket: CFE-4708
Changelog: Added
input_paths_extrato allow specified files to ship independent of what is specified ininput_name_patterns[_extra]